![]() |
DMSetAVPowerState |
||||
Header: | Displays.h | Carbon status: | Supported | |
Sets the power state of a display device.
OSErr DMSetAVPowerState ( AVIDType theID, AVPowerStatePtr setPowerState, UInt32 powerFlags, Handle displayState );
The ID number of the display device whose power state you want to change.
On return, this parameter points to a value that your application can use to set the power state of a display device.
A value that specifies the power state to which a display device can be set.
A handle to internal Display Manager information about the current display state.
A result code.
Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when Displays 2.0 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)